package com.groupbuying.currency.producer.service;

import com.groupbuying.currency.producer.domain.CurrencyActivityDO;
import com.groupbuying.currency.producer.utils.R;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * 积分活动表
 * 
 * @author ywxd
 * @email yuwenxiaodong@126.com
 * @date 2019-04-15 17:20:46
 */
public interface CurrencyActivityService {
	
	CurrencyActivityDO get(String activityId);
	
	List<CurrencyActivityDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CurrencyActivityDO currencyActivity);
	
	int update(CurrencyActivityDO currencyActivity);
	
	int remove(String activityId);
	
	int batchRemove(String[] activityIds);

	//用户充值积分操作
	R addCustomerCurrency(Map<String, Object> params);

	//平台充值积分操作
	R addPlatformCurrency(Map<String, Object> params);
}
